<template>
	<view class="withdraw">
		<view class="withdraw_box">
			<view class="withdraw_box_top">
				<view class="withdraw_box_top_left">
					<view class="text1">可提现金额(元)</view>
					<view class="text2">￥{{withdraw}}</view>
				</view>
				<view class="withdraw_box_top_right">
					<image src="../../static/img/qq.png"></image>
				</view>
			</view>
			<view class="withdraw_box_bottom">
				<view class="withdraw_box_bottom_top">
					提现至
				</view>
				<view class="withdraw_box_bottom_xia">
					<view class="withdraw_box_bottom_xia_left">
						<image class="img" src="../../static/imgs/weixin.png"></image>
						<text class="text1">微信</text>
					</view>
					
					<!-- <view > 555</view> -->
				</view>
				<view class="withdraw_box_bottom_a">
					提现金额
				</view>
				<view class="withdraw_input">
					<text class="text1">￥</text>
					<input class="ipt" v-model="money" type="text" placeholder="自定义提现金额">
					<text class="text2" @click="chioceALL">全部提现</text>
				</view>
				<view class="tixian">
					确认提现
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				checked:[],
				money:'',
				withdraw:''
			}
		},
		methods:{
			changechecked(e){
				console.log(e)
				// if(e.detail==false){
				// 	this.checked=false
				// }
				// else{
				// 	this.checked=true
				// }
			},
			chioceALL(){
				this.money = this.withdraw
			}
		},
		onLoad(withdraw) {
			this.withdraw=withdraw.withdraw
			console.log(this.withdraw)
			
		}
	}
</script>

<style lang="scss" scoped>
	@import '../../static/sass/withdraw.scss'
</style>